<!--  -->
<template>
  <tab-bar>
    <tab-bar-item path="/category" activeColor="red">
      <img
        slot="item-icon"
        src="~assets/img/tabbar/fenlei.png"
        alt=""
        srcset=""
      />
      <img
        slot="item-icon-active"
        src="~assets/img/tabbar/fenlei_active.png"
        alt=""
        srcset=""
      />
      <div slot="item-text">分类</div>
    </tab-bar-item>
    <tab-bar-item path="/cart" activeColor="blue">
      <img
        slot="item-icon"
        src="~assets/img/tabbar/gouwuche.png"
        alt=""
        srcset=""
      />
      <img
        slot="item-icon-active"
        src="~assets/img/tabbar/gouwuche_active.png"
        alt=""
        srcset=""
      />
      <div slot="item-text">购物车</div>
    </tab-bar-item>
    <tab-bar-item path="/home" activeColor="yellow">
      <img
        slot="item-icon"
        src="~assets/img/tabbar/shouye.png"
        alt=""
        srcset=""
      />
      <img
        slot="item-icon-active"
        src="~assets/img/tabbar/shouye_active.png"
        alt=""
        srcset=""
      />
      <div slot="item-text">首页</div>
    </tab-bar-item>
    <tab-bar-item path="/profile" activeColor="deepPink">
      <img
        slot="item-icon"
        src="~assets/img/tabbar/wode.png"
        alt=""
        srcset=""
      />
      <img
        slot="item-icon-active"
        src="~assets/img/tabbar/wode_active.png"
        alt=""
        srcset=""
      />
      <div slot="item-text">我的</div>
    </tab-bar-item>
  </tab-bar>
</template>

<script>
import TabBar from "../components/tabbar/TarBar";
import TabBarItem from "../components/tabbar/TarBarItem";
export default {
  name: "MainTabBar",
  components: {
    TabBar,
    TabBarItem,
  },
};
</script>
<style scoped>
</style>